<%@page contentType="text/html;charset=UTF-8"%>
<%@include file="/common/commonTag.jsp"%>
<html>
	<head>
		<title>部门管理</title>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<link rel="stylesheet" href="${path}/css/backsys/ctx.css">
		<link rel="stylesheet" type="text/css" href="${path}/js/util/confirmer/confir.css"/>
		<script type="text/javascript" src="${path}/js/jquery.js"></script>
		<script language="javascript" type="text/javascript" src="${path}/webutil/DateUtil/WdatePicker.js"></script>
		<script type="text/javascript" src="${path}/js/util/confirmer/jquery-impromptu.3.1.min.js"></script>
		<script type="text/javascript" src="${path}/js/backsys/sysutil.js"></script>
	</head>
	<body>
		<div class="ctx">
			
			<table width="100%" class="blockTable">
				<tr>
					<td>
						<div style="float:left;">
							<a href="${path}/supersystem/privilege/addResItem.jsp" class="zPushBtn"><img src="${path}/images/icon003a2.gif"/><b>添加</b></a>
							<a href="javascript:edit_del('${path}/privilegeResItem!queryByIdResItem.action?type=queryByUpdateResItem&resItem.id=${resItemList.id}');" class="zPushBtn"><img src="${path}/images/icon003a4.gif"/><b>编辑</b></a>
							<a href="#" class="zPushBtn"><img src="${path}/images/icon003a13.gif"/><b>发布</b></a>
							<a href="#" class="zPushBtn"><img src="${path}/images/icon403a3.gif"/><b>预览</b></a>
							<a href="#" class="zPushBtn"><img src="${path}/images/icon003a12.gif"/><b>复制</b></a>
							<a href="#" class="zPushBtn"><img src="${path}/images/icon003a7.gif"/><b>转移</b></a>
							<a href="#" class="zPushBtn"><img src="${path}/images/icon400a4.gif"/><b>排序</b></a>
							<a href="javascript:confirDel('${path}/privilegeResItem!deleteResourceItem.action?resItem.id=');" class="zPushBtn"><img src="${path}/images/icon003a3.gif"/><b>删除</b></a>
						</div>
					</td>
				</tr>
				<tr>
					<td> 
						<div style="float:left;font-size: 12px;text-align:left;">
							<span>从</span>
							<span><input type="text" class="Wdate" readonly="readonly" onClick="WdatePicker()" name="orgform.stratDate" size="14"/></span>
							<span>至</span>
							<span><input type="text" class="Wdate" readonly="readonly" onClick="WdatePicker()" name="orgform.stratDate" size="14"/></span>
							&nbsp;
							<span>关键词:</span>
							<span><input type="text"/></span>
							<span>
								<a href="javasript:void(0);" class="button"><b>&nbsp;查询&nbsp;</b></a>
							</span>

						</div>
					</td>
				</tr>
				<tr>
					<td>
						<table class="dataTable" width="100%">
							<tr class="dataTableHead">
								<td width="6%" align="center">序号</td>  
								<td width="4%"><input type="checkbox" onclick="selectAll()"/></td>
								<td>ID</td>							
								<td>资源类型名称</td>
								<td>资源类型描述</td>
								<td>日期</td>
							</tr>
							<c:choose>
								<c:when test="${empty resItems}">
									<tr class="dataTableBody">
										<td align="center" colspan="8" height="50">无法找到相关数据!!!</td>
									</tr>
								</c:when>
								<c:otherwise>
									<c:forEach var="resItemList" items="${resItems}" varStatus="s">
										<tr class="dataTableBody">
											<td align="center">${s.count}</td>
											<td><input type="checkbox" name="checkbox" value="${resItemList.id}"/></td>
											<td>${resItemList.id }</td>	
											<td>
												<a href="${path}/privilegeResItem!queryByIdResItem.action?resItem.id=${resItemList.id}">${resItemList.sysItemName }</a>
											</td>
											<td>${resItemList.sysItemDesc}</td>
											<td><fmt:formatDate value="${resItemList.addDate}" pattern="yyyy-MM-dd"/></td>
										</tr>
									</c:forEach>
								</c:otherwise>
							</c:choose>
							<tr class="dataTableBottom">
								<td colspan="12">
									&nbsp;
								</td>
							</tr>
						</table>	
					</td>
				</tr>
			</table>	
		</div>
	</body>
</html>
							
							
							
